home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 27 code / Internet_Config_Assistant.sit / Internet Config Assistant / toolkit / CDialogs.h < prev    next >
MacBinary  |  1996-06-30  |  8.6 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Jun 30 13:37:33 1996, modified Sun Jun 30 13:37:33 1996, creator 'CWIE', type ASCII, 8099 bytes "CDialogs.h" , at 0x2023 456 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 43 44 69 61 6c 6f | 67 73 2e 68 00 00 00 00 |..CDialo|gs.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 1f a3 00 | 00 01 c8 ad fc 6b dd ad |........|.....k..|
|00000060| fc 6b dd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.k......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bb 67 00 00 |........|.....g..|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 43 44 69 61 6c |/*..File|:..CDial|
|00000090| 6f 67 73 2e 68 0d 0d 09 | 43 6f 6e 74 61 69 6e 73 |ogs.h...|Contains|
|000000a0| 3a 09 4c 61 79 65 72 20 | 62 75 69 6c 74 20 6f 6e |:.Layer |built on|
|000000b0| 20 74 6f 70 20 6f 66 20 | 74 68 65 20 44 69 61 6c | top of |the Dial|
|000000c0| 6f 67 20 4d 61 6e 61 67 | 65 72 0d 0d 09 57 72 69 |og Manag|er...Wri|
|000000d0| 74 74 65 6e 20 62 79 3a | 09 41 72 6e 6f 20 47 6f |tten by:|.Arno Go|
|000000e0| 75 72 64 6f 6c 0d 0d 09 | 43 6f 70 79 72 69 67 68 |urdol...|Copyrigh|
|000000f0| 74 3a 09 a9 20 31 39 39 | 34 2d 31 39 39 35 20 62 |t:.. 199|4-1995 b|
|00000100| 79 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |y Apple |Computer|
|00000110| 2c 20 49 6e 63 2e 2c 20 | 61 6c 6c 20 72 69 67 68 |, Inc., |all righ|
|00000120| 74 73 20 72 65 73 65 72 | 76 65 64 2e 0d 0d 2a 2f |ts reser|ved...*/|
|00000130| 0d 0d 23 70 72 61 67 6d | 61 20 6f 6e 63 65 0d 0d |..#pragm|a once..|
|00000140| 23 69 66 6e 64 65 66 20 | 5f 5f 43 44 49 41 4c 4f |#ifndef |__CDIALO|
|00000150| 47 53 5f 5f 0d 23 64 65 | 66 69 6e 65 20 5f 5f 43 |GS__.#de|fine __C|
|00000160| 44 49 41 4c 4f 47 53 5f | 5f 0d 0d 23 69 6e 63 6c |DIALOGS_|_..#incl|
|00000170| 75 64 65 20 3c 44 69 61 | 6c 6f 67 73 2e 68 3e 0d |ude <Dia|logs.h>.|
|00000180| 23 69 6e 63 6c 75 64 65 | 20 3c 54 6f 6f 6c 55 74 |#include| <ToolUt|
|00000190| 69 6c 73 2e 68 3e 0d 0d | 23 69 6e 63 6c 75 64 65 |ils.h>..|#include|
|000001a0| 20 22 43 57 69 6e 64 6f | 77 73 2e 68 22 0d 23 69 | "CWindo|ws.h".#i|
|000001b0| 6e 63 6c 75 64 65 20 22 | 43 46 6f 6e 74 73 2e 68 |nclude "|CFonts.h|
|000001c0| 22 0d 0d 23 64 65 66 69 | 6e 65 20 6b 44 69 61 6c |"..#defi|ne kDial|
|000001d0| 6f 67 50 61 72 61 6d 65 | 74 65 72 73 43 6f 75 6e |ogParame|tersCoun|
|000001e0| 74 20 31 36 09 2f 2f 20 | 6d 61 78 20 6e 75 6d 62 |t 16.// |max numb|
|000001f0| 65 72 20 6f 66 20 70 61 | 72 61 6d 65 74 65 72 20 |er of pa|rameter |
|00000200| 74 65 78 74 20 69 6e 20 | 61 20 64 69 61 6c 6f 67 |text in |a dialog|
|00000210| 0d 23 64 65 66 69 6e 65 | 20 6b 53 74 79 6c 65 64 |.#define| kStyled|
|00000220| 54 65 78 74 43 6f 75 6e | 74 20 33 32 09 2f 2f 20 |TextCoun|t 32.// |
|00000230| 6d 61 78 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 |max numb|er of it|
|00000240| 65 6d 73 20 77 69 74 68 | 20 73 74 79 6c 65 64 20 |ems with| styled |
|00000250| 74 65 78 74 0d 0d 73 74 | 72 75 63 74 20 44 69 61 |text..st|ruct Dia|
|00000260| 6c 6f 67 50 61 72 61 6d | 65 74 65 72 0d 7b 0d 09 |logParam|eter.{..|
|00000270| 53 74 72 31 35 20 6b 65 | 79 3b 09 09 09 2f 2f 20 |Str15 ke|y;...// |
|00000280| 54 68 65 20 73 74 72 69 | 6e 67 20 74 68 61 74 20 |The stri|ng that |
|00000290| 77 69 6c 6c 20 62 65 20 | 72 65 70 6c 61 63 65 64 |will be |replaced|
|000002a0| 2c 0d 09 09 09 09 09 09 | 2f 2f 20 66 6f 72 20 65 |,.......|// for e|
|000002b0| 78 61 6d 70 6c 65 20 22 | 3c 6e 61 6d 65 3e 22 0d |xample "|<name>".|
|000002c0| 09 53 74 72 32 35 35 20 | 76 61 6c 75 65 3b 09 09 |.Str255 |value;..|
|000002d0| 2f 2f 20 54 68 65 20 76 | 61 6c 75 65 20 62 79 20 |// The v|alue by |
|000002e0| 77 68 69 63 68 20 74 68 | 65 20 6b 65 79 20 77 69 |which th|e key wi|
|000002f0| 6c 6c 20 0d 09 09 09 09 | 09 09 2f 2f 20 62 65 20 |ll .....|..// be |
|00000300| 72 65 70 6c 61 63 65 64 | 0d 09 53 49 6e 74 31 36 |replaced|..SInt16|
|00000310| 20 64 69 61 6c 6f 67 49 | 74 65 6d 3b 09 2f 2f 20 | dialogI|tem;.// |
|00000320| 49 66 20 74 68 65 20 64 | 69 61 6c 6f 67 20 69 74 |If the d|ialog it|
|00000330| 65 6d 20 6f 6e 6c 79 20 | 63 6f 6e 74 61 69 6e 73 |em only |contains|
|00000340| 20 74 68 65 20 0d 09 09 | 09 09 09 09 2f 2f 20 6b | the ...|....// k|
|00000350| 65 79 2c 20 69 6e 64 65 | 78 20 6f 66 20 74 68 65 |ey, inde|x of the|
|00000360| 20 64 69 61 6c 6f 67 20 | 69 74 65 6d 0d 7d 3b 0d | dialog |item.};.|
|00000370| 0d 0d 63 6c 61 73 73 20 | 43 44 69 61 6c 6f 67 20 |..class |CDialog |
|00000380| 3a 20 70 75 62 6c 69 63 | 20 43 57 69 6e 64 6f 77 |: public| CWindow|
|00000390| 0d 7b 0d 70 75 62 6c 69 | 63 3a 0d 09 2f 2f 20 63 |.{.publi|c:..// c|
|000003a0| 6f 6e 73 74 72 75 63 74 | 6f 72 0d 09 43 44 69 61 |onstruct|or..CDia|
|000003b0| 6c 6f 67 28 53 49 6e 74 | 31 36 20 64 69 61 6c 6f |log(SInt|16 dialo|
|000003c0| 67 49 44 2c 20 46 6f 6e | 74 43 6f 64 65 20 66 6f |gID, Fon|tCode fo|
|000003d0| 6e 74 43 6f 64 65 20 3d | 20 6b 53 79 73 74 65 6d |ntCode =| kSystem|
|000003e0| 46 6f 6e 74 29 3b 0d 09 | 09 0d 09 2f 2f 20 64 65 |Font);..|...// de|
|000003f0| 73 74 72 75 63 74 6f 72 | 0d 09 76 69 72 74 75 61 |structor|..virtua|
|00000400| 6c 20 7e 43 44 69 61 6c | 6f 67 28 76 6f 69 64 29 |l ~CDial|og(void)|
|00000410| 3b 09 09 0d 0d 09 2f 2f | 20 6d 6f 64 69 66 69 65 |;.....//| modifie|
|00000420| 72 73 0d 09 76 69 72 74 | 75 61 6c 20 57 69 6e 64 |rs..virt|ual Wind|
|00000430| 6f 77 52 65 66 20 4d 61 | 6b 65 57 69 6e 64 6f 77 |owRef Ma|keWindow|
|00000440| 28 76 6f 69 64 29 3b 0d | 09 76 69 72 74 75 61 6c |(void);.|.virtual|
|00000450| 20 44 69 61 6c 6f 67 52 | 65 66 20 4d 61 6b 65 44 | DialogR|ef MakeD|
|00000460| 69 61 6c 6f 67 28 76 6f | 69 64 29 3b 0d 09 76 69 |ialog(vo|id);..vi|
|00000470| 72 74 75 61 6c 20 76 6f | 69 64 20 43 6c 6f 73 65 |rtual vo|id Close|
|00000480| 28 76 6f 69 64 29 3b 0d | 0d 09 76 69 72 74 75 61 |(void);.|..virtua|
|00000490| 6c 20 76 6f 69 64 20 44 | 72 61 77 28 54 44 72 61 |l void D|raw(TDra|
|000004a0| 77 43 6f 6e 74 65 78 74 | 26 20 64 72 61 77 43 6f |wContext|& drawCo|
|000004b0| 6e 74 65 78 74 29 3b 0d | 0d 09 2f 2f 20 6d 6f 64 |ntext);.|..// mod|
|000004c0| 69 66 69 65 72 73 0d 09 | 76 69 72 74 75 61 6c 20 |ifiers..|virtual |
|000004d0| 76 6f 69 64 20 49 74 65 | 6d 48 69 74 28 73 68 6f |void Ite|mHit(sho|
|000004e0| 72 74 20 69 74 65 6d 48 | 69 74 29 3b 0d 09 76 6f |rt itemH|it);..vo|
|000004f0| 69 64 20 44 6f 50 72 65 | 70 61 72 65 44 69 61 6c |id DoPre|pareDial|
|00000500| 6f 67 28 76 6f 69 64 29 | 3b 0d 09 76 69 72 74 75 |og(void)|;..virtu|
|00000510| 61 6c 20 76 6f 69 64 20 | 50 72 65 70 61 72 65 44 |al void |PrepareD|
|00000520| 69 61 6c 6f 67 28 76 6f | 69 64 29 3b 0d 09 76 69 |ialog(vo|id);..vi|
|00000530| 72 74 75 61 6c 20 76 6f | 69 64 20 53 75 62 73 74 |rtual vo|id Subst|
|00000540| 69 74 75 74 65 50 61 72 | 61 6d 65 74 65 72 73 28 |itutePar|ameters(|
|00000550| 76 6f 69 64 29 3b 0d 09 | 76 69 72 74 75 61 6c 20 |void);..|virtual |
|00000560| 76 6f 69 64 20 44 72 61 | 77 55 73 65 72 49 74 65 |void Dra|wUserIte|
|00000570| 6d 28 54 44 72 61 77 43 | 6f 6e 74 65 78 74 26 20 |m(TDrawC|ontext& |
|00000580| 64 72 61 77 43 6f 6e 74 | 65 78 74 2c 20 73 68 6f |drawCont|ext, sho|
|00000590| 72 74 20 69 74 65 6d 2c | 20 63 6f 6e 73 74 20 43 |rt item,| const C|
|000005a0| 52 65 63 74 26 20 66 72 | 61 6d 65 29 3b 0d 09 76 |Rect& fr|ame);..v|
|000005b0| 6f 69 64 20 53 65 74 50 | 61 72 61 6d 65 74 65 72 |oid SetP|arameter|
|000005c0| 28 43 6f 6e 73 74 53 74 | 72 31 35 50 61 72 61 6d |(ConstSt|r15Param|
|000005d0| 20 6b 65 79 2c 20 43 6f | 6e 73 74 53 74 72 32 35 | key, Co|nstStr25|
|000005e0| 35 50 61 72 61 6d 20 76 | 61 6c 75 65 29 3b 0d 09 |5Param v|alue);..|
|000005f0| 76 6f 69 64 20 47 65 74 | 50 61 72 61 6d 65 74 65 |void Get|Paramete|
|00000600| 72 28 43 6f 6e 73 74 53 | 74 72 31 35 50 61 72 61 |r(ConstS|tr15Para|
|00000610| 6d 20 6b 65 79 2c 20 53 | 74 72 32 35 35 20 76 61 |m key, S|tr255 va|
|00000620| 6c 75 65 29 3b 0d 09 69 | 6e 6c 69 6e 65 20 76 6f |lue);..i|nline vo|
|00000630| 69 64 20 53 65 74 44 65 | 66 61 75 6c 74 42 75 74 |id SetDe|faultBut|
|00000640| 74 6f 6e 28 73 68 6f 72 | 74 20 69 74 65 6d 4e 75 |ton(shor|t itemNu|
|00000650| 6d 62 65 72 29 3b 0d 09 | 69 6e 6c 69 6e 65 20 76 |mber);..|inline v|
|00000660| 6f 69 64 20 53 65 74 43 | 61 6e 63 65 6c 42 75 74 |oid SetC|ancelBut|
|00000670| 74 6f 6e 28 73 68 6f 72 | 74 20 69 74 65 6d 4e 75 |ton(shor|t itemNu|
|00000680| 6d 62 65 72 29 3b 0d 09 | 69 6e 6c 69 6e 65 20 76 |mber);..|inline v|
|00000690| 6f 69 64 20 53 65 74 44 | 65 66 61 75 6c 74 42 75 |oid SetD|efaultBu|
|000006a0| 74 74 6f 6e 4e 61 6d 65 | 28 43 6f 6e 73 74 53 74 |ttonName|(ConstSt|
|000006b0| 72 36 33 50 61 72 61 6d | 20 62 75 74 74 6f 6e 4e |r63Param| buttonN|
|000006c0| 61 6d 65 29 3b 09 09 0d | 09 76 69 72 74 75 61 6c |ame);...|.virtual|
|000006d0| 20 42 6f 6f 6c 65 61 6e | 20 46 69 6c 74 65 72 45 | Boolean| FilterE|
|000006e0| 76 65 6e 74 28 63 6f 6e | 73 74 20 45 76 65 6e 74 |vent(con|st Event|
|000006f0| 52 65 63 6f 72 64 20 26 | 65 76 65 6e 74 29 3b 0d |Record &|event);.|
|00000700| 09 69 6e 6c 69 6e 65 20 | 76 6f 69 64 20 53 65 74 |.inline |void Set|
|00000710| 4e 65 78 74 44 69 61 6c | 6f 67 28 43 44 69 61 6c |NextDial|og(CDial|
|00000720| 6f 67 20 2a 74 68 65 44 | 69 61 6c 6f 67 29 3b 0d |og *theD|ialog);.|
|00000730| 09 76 6f 69 64 20 41 64 | 64 4b 65 79 62 6f 61 72 |.void Ad|dKeyboar|
|00000740| 64 53 68 6f 72 74 63 75 | 74 73 28 73 68 6f 72 74 |dShortcu|ts(short|
|00000750| 20 73 74 72 69 6e 67 49 | 44 29 3b 0d 09 09 2f 2f | stringI|D);...//|
|00000760| 20 61 6c 6c 20 73 74 72 | 69 6e 67 73 20 69 6e 20 | all str|ings in |
|00000770| 74 68 65 20 53 54 52 23 | 20 74 61 6b 65 20 74 68 |the STR#| take th|
|00000780| 65 20 66 6f 72 6d 20 22 | 58 3a 4e 22 2c 20 77 68 |e form "|X:N", wh|
|00000790| 65 72 65 20 58 20 69 73 | 20 74 68 65 20 6b 65 79 |ere X is| the key|
|000007a0| 20 61 6e 64 20 4e 20 74 | 68 65 20 69 74 65 6d 20 | and N t|he item |
|000007b0| 6e 75 6d 62 65 72 0d 09 | 0d 09 2f 2f 20 4b 65 79 |number..|..// Key|
|000007c0| 62 6f 61 72 64 20 6e 61 | 76 69 67 61 74 69 6f 6e |board na|vigation|
|000007d0| 0d 09 73 68 6f 72 74 20 | 46 69 72 73 74 54 65 78 |..short |FirstTex|
|000007e0| 74 46 69 65 6c 64 28 76 | 6f 69 64 29 3b 0d 09 73 |tField(v|oid);..s|
|000007f0| 68 6f 72 74 20 4c 61 73 | 74 54 65 78 74 46 69 65 |hort Las|tTextFie|
|00000800| 6c 64 28 76 6f 69 64 29 | 3b 0d 09 73 68 6f 72 74 |ld(void)|;..short|
|00000810| 20 50 72 65 76 69 6f 75 | 73 54 65 78 74 46 69 65 | Previou|sTextFie|
|00000820| 6c 64 28 73 68 6f 72 74 | 20 69 74 65 6d 20 3d 20 |ld(short| item = |
|00000830| 30 29 3b 0d 09 73 68 6f | 72 74 20 4e 65 78 74 54 |0);..sho|rt NextT|
|00000840| 65 78 74 46 69 65 6c 64 | 28 73 68 6f 72 74 20 69 |extField|(short i|
|00000850| 74 65 6d 20 3d 20 30 29 | 3b 0d 0d 09 2f 2f 20 73 |tem = 0)|;...// s|
|00000860| 65 6c 65 63 74 6f 72 73 | 0d 09 69 6e 6c 69 6e 65 |electors|..inline|
|00000870| 20 44 69 61 6c 6f 67 52 | 65 66 20 47 65 74 44 69 | DialogR|ef GetDi|
|00000880| 61 6c 6f 67 52 65 66 28 | 76 6f 69 64 29 3b 09 09 |alogRef(|void);..|
|00000890| 0d 09 47 44 48 61 6e 64 | 6c 65 20 47 65 74 4d 61 |..GDHand|le GetMa|
|000008a0| 78 49 6e 74 65 72 73 65 | 63 74 65 64 44 65 76 69 |xInterse|ctedDevi|
|000008b0| 63 65 28 63 6c 61 73 73 | 20 43 52 65 63 74 26 20 |ce(class| CRect& |
|000008c0| 73 63 72 65 65 6e 52 65 | 63 74 29 3b 0d 09 73 74 |screenRe|ct);..st|
|000008d0| 61 74 69 63 20 43 44 69 | 61 6c 6f 67 2a 20 47 65 |atic CDi|alog* Ge|
|000008e0| 74 43 44 69 61 6c 6f 67 | 28 44 69 61 6c 6f 67 52 |tCDialog|(DialogR|
|000008f0| 65 66 20 64 69 61 6c 6f | 67 29 3b 0d 09 69 6e 6c |ef dialo|g);..inl|
|00000900| 69 6e 65 20 43 44 69 61 | 6c 6f 67 2a 20 47 65 74 |ine CDia|log* Get|
|00000910| 4e 65 78 74 44 69 61 6c | 6f 67 28 76 6f 69 64 29 |NextDial|og(void)|
|00000920| 3b 0d 09 76 69 72 74 75 | 61 6c 20 42 6f 6f 6c 65 |;..virtu|al Boole|
|00000930| 61 6e 20 43 68 65 63 6b | 4b 65 79 62 6f 61 72 64 |an Check|Keyboard|
|00000940| 53 68 6f 72 74 63 75 74 | 73 28 63 6f 6e 73 74 20 |Shortcut|s(const |
|00000950| 45 76 65 6e 74 52 65 63 | 6f 72 64 20 26 65 76 65 |EventRec|ord &eve|
|00000960| 6e 74 29 3b 0d 09 54 45 | 48 61 6e 64 6c 65 20 47 |nt);..TE|Handle G|
|00000970| 65 74 53 74 79 6c 65 64 | 54 65 78 74 28 73 68 6f |etStyled|Text(sho|
|00000980| 72 74 20 69 74 65 6d 29 | 3b 0d 09 76 6f 69 64 20 |rt item)|;..void |
|00000990| 53 65 74 53 74 79 6c 65 | 64 54 65 78 74 28 73 68 |SetStyle|dText(sh|
|000009a0| 6f 72 74 20 69 74 65 6d | 2c 20 54 45 48 61 6e 64 |ort item|, TEHand|
|000009b0| 6c 65 20 73 74 79 6c 65 | 64 54 65 78 74 29 3b 0d |le style|dText);.|
|000009c0| 0d 09 2f 2f 20 64 69 61 | 6c 6f 67 20 75 74 69 6c |..// dia|log util|
|000009d0| 69 74 69 65 73 0d 09 69 | 6e 6c 69 6e 65 20 76 6f |ities..i|nline vo|
|000009e0| 69 64 20 53 65 74 44 72 | 61 77 69 6e 67 50 72 6f |id SetDr|awingPro|
|000009f0| 63 28 73 68 6f 72 74 20 | 69 74 65 6d 2c 20 55 73 |c(short |item, Us|
|00000a00| 65 72 49 74 65 6d 55 50 | 50 20 70 72 6f 63 29 3b |erItemUP|P proc);|
|00000a10| 0d 09 69 6e 6c 69 6e 65 | 20 43 52 65 63 74 20 47 |..inline| CRect G|
|00000a20| 65 74 49 74 65 6d 52 65 | 63 74 28 73 68 6f 72 74 |etItemRe|ct(short|
|00000a30| 20 69 74 65 6d 29 3b 0d | 09 76 6f 69 64 20 53 65 | item);.|.void Se|
|00000a40| 74 49 74 65 6d 52 65 63 | 74 28 73 68 6f 72 74 20 |tItemRec|t(short |
|00000a50| 69 74 65 6d 2c 20 63 6f | 6e 73 74 20 43 52 65 63 |item, co|nst CRec|
|00000a60| 74 20 26 6e 65 77 52 65 | 63 74 29 3b 0d 09 69 6e |t &newRe|ct);..in|
|00000a70| 6c 69 6e 65 20 43 6f 6e | 74 72 6f 6c 52 65 66 20 |line Con|trolRef |
|00000a80| 47 65 74 49 74 65 6d 43 | 6f 6e 74 72 6f 6c 28 73 |GetItemC|ontrol(s|
|00000a90| 68 6f 72 74 20 69 74 65 | 6d 29 3b 0d 09 76 6f 69 |hort ite|m);..voi|
|00000aa0| 64 20 53 65 74 49 74 65 | 6d 43 6f 6e 74 72 6f 6c |d SetIte|mControl|
|00000ab0| 28 73 68 6f 72 74 20 69 | 74 65 6d 2c 20 43 6f 6e |(short i|tem, Con|
|00000ac0| 74 72 6f 6c 52 65 66 20 | 63 6f 6e 74 72 6f 6c 29 |trolRef |control)|
|00000ad0| 3b 0d 09 69 6e 6c 69 6e | 65 20 48 61 6e 64 6c 65 |;..inlin|e Handle|
|00000ae0| 20 47 65 74 49 74 65 6d | 44 61 74 61 28 73 68 6f | GetItem|Data(sho|
|00000af0| 72 74 20 69 74 65 6d 29 | 3b 0d 09 69 6e 6c 69 6e |rt item)|;..inlin|
|00000b00| 65 20 76 6f 69 64 20 53 | 65 74 49 74 65 6d 44 61 |e void S|etItemDa|
|00000b10| 74 61 28 73 68 6f 72 74 | 20 69 74 65 6d 2c 20 48 |ta(short| item, H|
|00000b20| 61 6e 64 6c 65 20 64 61 | 74 61 29 3b 0d 09 69 6e |andle da|ta);..in|
|00000b30| 6c 69 6e 65 20 76 6f 69 | 64 20 47 65 74 49 74 65 |line voi|d GetIte|
|00000b40| 6d 54 65 78 74 28 73 68 | 6f 72 74 20 69 74 65 6d |mText(sh|ort item|
|00000b50| 2c 20 53 74 72 32 35 35 | 20 73 29 3b 0d 09 76 6f |, Str255| s);..vo|
|00000b60| 69 64 20 53 65 74 49 74 | 65 6d 54 65 78 74 28 73 |id SetIt|emText(s|
|00000b70| 68 6f 72 74 20 69 74 65 | 6d 2c 20 43 6f 6e 73 74 |hort ite|m, Const|
|00000b80| 53 74 72 32 35 35 50 61 | 72 61 6d 20 73 29 3b 0d |Str255Pa|ram s);.|
|00000b90| 09 69 6e 6c 69 6e 65 20 | 76 6f 69 64 20 53 65 6c |.inline |void Sel|
|00000ba0| 65 63 74 49 74 65 6d 54 | 65 78 74 28 73 68 6f 72 |ectItemT|ext(shor|
|00000bb0| 74 20 69 74 65 6d 2c 20 | 73 68 6f 72 74 20 73 74 |t item, |short st|
|00000bc0| 61 72 74 20 3d 20 30 2c | 20 73 68 6f 72 74 20 66 |art = 0,| short f|
|00000bd0| 69 6e 69 73 68 20 3d 20 | 33 32 37 36 37 29 3b 0d |inish = |32767);.|
|00000be0| 09 69 6e 6c 69 6e 65 20 | 76 6f 69 64 20 53 65 74 |.inline |void Set|
|00000bf0| 49 74 65 6d 56 61 6c 75 | 65 28 73 68 6f 72 74 20 |ItemValu|e(short |
|00000c00| 69 74 65 6d 2c 20 73 68 | 6f 72 74 20 76 61 6c 75 |item, sh|ort valu|
|00000c10| 65 29 3b 0d 09 69 6e 6c | 69 6e 65 20 73 68 6f 72 |e);..inl|ine shor|
|00000c20| 74 20 47 65 74 49 74 65 | 6d 56 61 6c 75 65 28 73 |t GetIte|mValue(s|
|00000c30| 68 6f 72 74 20 69 74 65 | 6d 29 3b 0d 09 69 6e 6c |hort ite|m);..inl|
|00000c40| 69 6e 65 20 73 68 6f 72 | 74 20 47 65 74 49 74 65 |ine shor|t GetIte|
|00000c50| 6d 48 69 6c 69 74 65 28 | 73 68 6f 72 74 20 69 74 |mHilite(|short it|
|00000c60| 65 6d 29 3b 0d 09 69 6e | 6c 69 6e 65 20 76 6f 69 |em);..in|line voi|
|00000c70| 64 20 48 69 6c 69 74 65 | 49 74 65 6d 28 73 68 6f |d Hilite|Item(sho|
|00000c80| 72 74 20 69 74 65 6d 2c | 20 73 68 6f 72 74 20 68 |rt item,| short h|
|00000c90| 69 6c 69 74 65 29 3b 0d | 09 69 6e 6c 69 6e 65 20 |ilite);.|.inline |
|00000ca0| 76 6f 69 64 20 45 6e 61 | 62 6c 65 49 74 65 6d 28 |void Ena|bleItem(|
|00000cb0| 73 68 6f 72 74 20 69 74 | 65 6d 2c 20 42 6f 6f 6c |short it|em, Bool|
|00000cc0| 65 61 6e 20 65 6e 61 62 | 6c 65 20 3d 20 74 72 75 |ean enab|le = tru|
|00000cd0| 65 29 3b 0d 09 69 6e 6c | 69 6e 65 20 76 6f 69 64 |e);..inl|ine void|
|00000ce0| 20 44 69 73 61 62 6c 65 | 49 74 65 6d 28 73 68 6f | Disable|Item(sho|
|00000cf0| 72 74 20 69 74 65 6d 29 | 3b 0d 09 69 6e 6c 69 6e |rt item)|;..inlin|
|00000d00| 65 20 42 6f 6f 6c 65 61 | 6e 20 49 73 45 6e 61 62 |e Boolea|n IsEnab|
|00000d10| 6c 65 64 28 73 68 6f 72 | 74 20 69 74 65 6d 29 3b |led(shor|t item);|
|00000d20| 0d 09 69 6e 6c 69 6e 65 | 20 76 6f 69 64 20 47 65 |..inline| void Ge|
|00000d30| 74 49 74 65 6d 54 69 74 | 6c 65 28 73 68 6f 72 74 |tItemTit|le(short|
|00000d40| 20 69 74 65 6d 2c 20 53 | 74 72 32 35 35 20 74 69 | item, S|tr255 ti|
|00000d50| 74 6c 65 29 3b 0d 09 69 | 6e 6c 69 6e 65 20 76 6f |tle);..i|nline vo|
|00000d60| 69 64 20 53 65 74 49 74 | 65 6d 54 69 74 6c 65 28 |id SetIt|emTitle(|
|00000d70| 73 68 6f 72 74 20 69 74 | 65 6d 2c 20 43 6f 6e 73 |short it|em, Cons|
|00000d80| 74 53 74 72 32 35 35 50 | 61 72 61 6d 20 74 69 74 |tStr255P|aram tit|
|00000d90| 6c 65 29 3b 0d 09 69 6e | 6c 69 6e 65 20 73 68 6f |le);..in|line sho|
|00000da0| 72 74 20 47 65 74 49 74 | 65 6d 54 79 70 65 28 73 |rt GetIt|emType(s|
|00000db0| 68 6f 72 74 20 69 74 65 | 6d 29 3b 0d 09 69 6e 6c |hort ite|m);..inl|
|00000dc0| 69 6e 65 20 76 6f 69 64 | 20 53 65 74 49 74 65 6d |ine void| SetItem|
|00000dd0| 54 79 70 65 28 73 68 6f | 72 74 20 69 74 65 6d 2c |Type(sho|rt item,|
|00000de0| 20 73 68 6f 72 74 20 74 | 68 65 54 79 70 65 29 3b | short t|heType);|
|00000df0| 0d 09 69 6e 6c 69 6e 65 | 20 76 6f 69 64 20 48 69 |..inline| void Hi|
|00000e00| 64 65 49 74 65 6d 28 73 | 68 6f 72 74 20 69 74 65 |deItem(s|hort ite|
|00000e10| 6d 29 3b 0d 09 69 6e 6c | 69 6e 65 20 76 6f 69 64 |m);..inl|ine void|
|00000e20| 20 53 68 6f 77 49 74 65 | 6d 28 73 68 6f 72 74 20 | ShowIte|m(short |
|00000e30| 69 74 65 6d 29 3b 0d 09 | 69 6e 6c 69 6e 65 20 76 |item);..|inline v|
|00000e40| 6f 69 64 20 46 6c 61 73 | 68 42 75 74 74 6f 6e 28 |oid Flas|hButton(|
|00000e50| 73 68 6f 72 74 20 69 74 | 65 6d 29 3b 0d 09 69 6e |short it|em);..in|
|00000e60| 6c 69 6e 65 20 76 6f 69 | 64 20 47 65 74 53 65 6c |line voi|d GetSel|
|00000e70| 65 63 74 69 6f 6e 45 6e | 64 70 6f 69 6e 74 73 28 |ectionEn|dpoints(|
|00000e80| 73 68 6f 72 74 20 26 73 | 74 61 72 74 2c 20 73 68 |short &s|tart, sh|
|00000e90| 6f 72 74 20 26 65 6e 64 | 29 3b 0d 09 69 6e 6c 69 |ort &end|);..inli|
|00000ea0| 6e 65 20 73 68 6f 72 74 | 20 47 65 74 49 74 65 6d |ne short| GetItem|
|00000eb0| 54 65 78 74 53 69 7a 65 | 28 73 68 6f 72 74 20 69 |TextSize|(short i|
|00000ec0| 74 65 6d 20 3d 20 30 29 | 3b 0d 09 76 6f 69 64 20 |tem = 0)|;..void |
|00000ed0| 50 61 73 74 65 54 65 78 | 74 28 50 74 72 20 74 65 |PasteTex|t(Ptr te|
|00000ee0| 78 74 2c 20 73 68 6f 72 | 74 20 73 69 7a 65 29 3b |xt, shor|t size);|
|00000ef0| 0d 09 0d 09 43 46 6f 6e | 74 53 70 65 63 20 66 44 |....CFon|tSpec fD|
|00000f00| 69 61 6c 6f 67 46 6f 6e | 74 3b 0d 0d 70 72 6f 74 |ialogFon|t;..prot|
|00000f10| 65 63 74 65 64 3a 0d 09 | 53 49 6e 74 31 36 20 66 |ected:..|SInt16 f|
|00000f20| 44 69 61 6c 6f 67 49 44 | 3b 0d 09 44 69 61 6c 6f |DialogID|;..Dialo|
|00000f30| 67 52 65 66 20 66 44 69 | 61 6c 6f 67 3b 0d 0d 09 |gRef fDi|alog;...|
|00000f40| 73 68 6f 72 74 20 66 44 | 65 66 61 75 6c 74 42 75 |short fD|efaultBu|
|00000f50| 74 74 6f 6e 3b 09 09 09 | 2f 2f 20 69 74 65 6d 20 |tton;...|// item |
|00000f60| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 64 65 |number o|f the de|
|00000f70| 66 61 75 6c 74 20 62 75 | 74 74 6f 6e 09 0d 09 73 |fault bu|tton...s|
|00000f80| 68 6f 72 74 20 66 43 61 | 6e 63 65 6c 42 75 74 74 |hort fCa|ncelButt|
|00000f90| 6f 6e 3b 09 09 09 2f 2f | 20 69 74 65 6d 20 6e 75 |on;...//| item nu|
|00000fa0| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 63 61 6e 63 |mber of |the canc|
|00000fb0| 65 6c 20 62 75 74 74 6f | 6e 0d 0d 09 55 73 65 72 |el butto|n...User|
|00000fc0| 49 74 65 6d 55 50 50 20 | 66 55 73 65 72 49 74 65 |ItemUPP |fUserIte|
|00000fd0| 6d 43 61 6c 6c 62 61 63 | 6b 3b 0d 09 0d 09 2f 2f |mCallbac|k;....//|
|00000fe0| 20 44 61 74 61 20 66 6f | 72 20 70 61 72 61 6d 65 | Data fo|r parame|
|00000ff0| 74 65 72 20 73 75 62 73 | 74 69 74 75 74 69 6f 6e |ter subs|titution|
|00001000| 0d 09 44 69 61 6c 6f 67 | 50 61 72 61 6d 65 74 65 |..Dialog|Paramete|
|00001010| 72 20 66 50 61 72 61 6d | 65 74 65 72 73 5b 6b 44 |r fParam|eters[kD|
|00001020| 69 61 6c 6f 67 50 61 72 | 61 6d 65 74 65 72 73 43 |ialogPar|ametersC|
|00001030| 6f 75 6e 74 5d 3b 0d 0d | 09 2f 2f 20 50 72 69 76 |ount];..|.// Priv|
|00001040| 61 74 65 20 64 61 74 61 | 20 73 74 6f 72 65 64 20 |ate data| stored |
|00001050| 77 69 74 68 20 65 61 63 | 68 20 69 74 65 6d 0d 09 |with eac|h item..|
|00001060| 73 68 6f 72 74 20 66 53 | 74 79 6c 65 54 65 78 74 |short fS|tyleText|
|00001070| 49 74 65 6d 5b 6b 53 74 | 79 6c 65 64 54 65 78 74 |Item[kSt|yledText|
|00001080| 43 6f 75 6e 74 5d 3b 0d | 09 54 45 48 61 6e 64 6c |Count];.|.TEHandl|
|00001090| 65 20 66 53 74 79 6c 65 | 64 54 65 78 74 5b 6b 53 |e fStyle|dText[kS|
|000010a0| 74 79 6c 65 64 54 65 78 | 74 43 6f 75 6e 74 5d 3b |tyledTex|tCount];|
|000010b0| 0d 0d 09 2f 2f 20 6c 69 | 6e 6b 65 64 20 6c 69 73 |...// li|nked lis|
|000010c0| 74 20 6f 66 20 64 69 61 | 6c 6f 67 73 20 75 73 65 |t of dia|logs use|
|000010d0| 64 20 74 6f 20 74 75 72 | 6e 20 64 69 61 6c 6f 67 |d to tur|n dialog|
|000010e0| 20 70 6f 69 6e 74 65 72 | 73 20 69 6e 74 6f 20 43 | pointer|s into C|
|000010f0| 44 69 61 6c 6f 67 73 0d | 09 73 74 61 74 69 63 20 |Dialogs.|.static |
|00001100| 43 44 69 61 6c 6f 67 20 | 2a 67 44 69 61 6c 6f 67 |CDialog |*gDialog|
|00001110| 4c 69 73 74 3b 0d 09 43 | 44 69 61 6c 6f 67 2a 20 |List;..C|Dialog* |
|00001120| 66 4e 65 78 74 44 69 61 | 6c 6f 67 3b 0d 0d 09 2f |fNextDia|log;.../|
|00001130| 2f 20 6b 65 79 62 6f 61 | 72 64 20 73 68 6f 72 74 |/ keyboa|rd short|
|00001140| 63 75 74 73 20 61 72 72 | 61 79 0d 09 73 68 6f 72 |cuts arr|ay..shor|
|00001150| 74 20 66 4e 75 6d 53 68 | 6f 72 74 63 75 74 73 3b |t fNumSh|ortcuts;|
|00001160| 0d 09 73 74 72 75 63 74 | 20 53 68 6f 72 74 63 75 |..struct| Shortcu|
|00001170| 74 20 7b 20 55 49 6e 74 | 31 36 20 6b 65 79 3b 20 |t { UInt|16 key; |
|00001180| 55 49 6e 74 31 36 20 69 | 74 65 6d 3b 20 7d 20 2a |UInt16 i|tem; } *|
|00001190| 66 53 68 6f 72 74 63 75 | 74 73 3b 0d 0d 70 72 69 |fShortcu|ts;..pri|
|000011a0| 76 61 74 65 3a 0d 09 73 | 74 61 74 69 63 20 70 61 |vate:..s|tatic pa|
|000011b0| 73 63 61 6c 20 76 6f 69 | 64 20 55 73 65 72 49 74 |scal voi|d UserIt|
|000011c0| 65 6d 43 61 6c 6c 62 61 | 63 6b 28 44 69 61 6c 6f |emCallba|ck(Dialo|
|000011d0| 67 52 65 66 20 64 69 61 | 6c 6f 67 2c 20 73 68 6f |gRef dia|log, sho|
|000011e0| 72 74 20 69 74 65 6d 29 | 3b 0d 7d 3b 0d 0d 76 6f |rt item)|;.};..vo|
|000011f0| 69 64 20 43 44 69 61 6c | 6f 67 3a 3a 53 65 74 4e |id CDial|og::SetN|
|00001200| 65 78 74 44 69 61 6c 6f | 67 28 43 44 69 61 6c 6f |extDialo|g(CDialo|
|00001210| 67 20 2a 74 68 65 44 69 | 61 6c 6f 67 29 0d 7b 0d |g *theDi|alog).{.|
|00001220| 09 66 4e 65 78 74 44 69 | 61 6c 6f 67 20 3d 20 74 |.fNextDi|alog = t|
|00001230| 68 65 44 69 61 6c 6f 67 | 3b 0d 7d 0d 0d 44 69 61 |heDialog|;.}..Dia|
|00001240| 6c 6f 67 52 65 66 20 43 | 44 69 61 6c 6f 67 3a 3a |logRef C|Dialog::|
|00001250| 47 65 74 44 69 61 6c 6f | 67 52 65 66 28 76 6f 69 |GetDialo|gRef(voi|
|00001260| 64 29 0d 7b 0d 09 72 65 | 74 75 72 6e 20 66 44 69 |d).{..re|turn fDi|
|00001270| 61 6c 6f 67 3b 0d 7d 0d | 0d 43 44 69 61 6c 6f 67 |alog;.}.|.CDialog|
|00001280| 2a 20 43 44 69 61 6c 6f | 67 3a 3a 47 65 74 4e 65 |* CDialo|g::GetNe|
|00001290| 78 74 44 69 61 6c 6f 67 | 28 76 6f 69 64 29 0d 7b |xtDialog|(void).{|
|000012a0| 0d 09 72 65 74 75 72 6e | 20 66 4e 65 78 74 44 69 |..return| fNextDi|
|000012b0| 61 6c 6f 67 3b 0d 7d 0d | 0d 76 6f 69 64 20 43 44 |alog;.}.|.void CD|
|000012c0| 69 61 6c 6f 67 3a 3a 53 | 65 74 44 72 61 77 69 6e |ialog::S|etDrawin|
|000012d0| 67 50 72 6f 63 28 73 68 | 6f 72 74 20 69 74 65 6d |gProc(sh|ort item|
|000012e0| 2c 20 55 73 65 72 49 74 | 65 6d 55 50 50 20 70 72 |, UserIt|emUPP pr|
|000012f0| 6f 63 29 0d 7b 0d 09 61 | 73 73 65 72 74 28 47 65 |oc).{..a|ssert(Ge|
|00001300| 74 49 74 65 6d 54 79 70 | 65 28 69 74 65 6d 29 20 |tItemTyp|e(item) |
|00001310| 3d 3d 20 75 73 65 72 49 | 74 65 6d 29 3b 0d 09 53 |== userI|tem);..S|
|00001320| 65 74 49 74 65 6d 44 61 | 74 61 28 69 74 65 6d 2c |etItemDa|ta(item,|
|00001330| 20 28 48 61 6e 64 6c 65 | 29 70 72 6f 63 29 3b 0d | (Handle|)proc);.|
|00001340| 7d 0d 0d 43 52 65 63 74 | 20 43 44 69 61 6c 6f 67 |}..CRect| CDialog|
|00001350| 3a 3a 47 65 74 49 74 65 | 6d 52 65 63 74 28 73 68 |::GetIte|mRect(sh|
|00001360| 6f 72 74 20 69 74 65 6d | 29 0d 7b 0d 09 48 61 6e |ort item|).{..Han|
|00001370| 64 6c 65 20 68 3b 0d 09 | 73 68 6f 72 74 20 74 79 |dle h;..|short ty|
|00001380| 70 65 3b 0d 09 43 52 65 | 63 74 20 72 3b 0d 09 0d |pe;..CRe|ct r;...|
|00001390| 09 47 65 74 44 69 61 6c | 6f 67 49 74 65 6d 28 47 |.GetDial|ogItem(G|
|000013a0| 65 74 44 69 61 6c 6f 67 | 52 65 66 28 29 2c 20 69 |etDialog|Ref(), i|
|000013b0| 74 65 6d 2c 20 26 74 79 | 70 65 2c 20 26 68 2c 20 |tem, &ty|pe, &h, |
|000013c0| 72 29 3b 0d 09 0d 09 72 | 65 74 75 72 6e 20 72 3b |r);....r|eturn r;|
|000013d0| 0d 7d 0d 0d 48 61 6e 64 | 6c 65 20 43 44 69 61 6c |.}..Hand|le CDial|
|000013e0| 6f 67 3a 3a 47 65 74 49 | 74 65 6d 44 61 74 61 28 |og::GetI|temData(|
|000013f0| 73 68 6f 72 74 20 69 74 | 65 6d 29 0d 7b 0d 09 52 |short it|em).{..R|
|00001400| 65 63 74 20 72 3b 0d 09 | 48 61 6e 64 6c 65 20 68 |ect r;..|Handle h|
|00001410| 3b 0d 09 73 68 6f 72 74 | 20 74 79 70 65 3b 0d 09 |;..short| type;..|
|00001420| 0d 09 47 65 74 44 69 61 | 6c 6f 67 49 74 65 6d 28 |..GetDia|logItem(|
|00001430| 47 65 74 44 69 61 6c 6f | 67 52 65 66 28 29 2c 20 |GetDialo|gRef(), |
|00001440| 69 74 65 6d 2c 20 26 74 | 79 70 65 2c 20 26 68 2c |item, &t|ype, &h,|
|00001450| 20 26 72 29 3b 0d 09 72 | 65 74 75 72 6e 20 68 3b | &r);..r|eturn h;|
|00001460| 0d 7d 0d 0d 76 6f 69 64 | 20 43 44 69 61 6c 6f 67 |.}..void| CDialog|
|00001470| 3a 3a 53 65 74 49 74 65 | 6d 44 61 74 61 28 73 68 |::SetIte|mData(sh|
|00001480| 6f 72 74 20 69 74 65 6d | 2c 20 48 61 6e 64 6c 65 |ort item|, Handle|
|00001490| 20 64 61 74 61 29 0d 7b | 0d 09 52 65 63 74 20 72 | data).{|..Rect r|
|000014a0| 3b 0d 09 48 61 6e 64 6c | 65 20 68 3b 0d 09 73 68 |;..Handl|e h;..sh|
|000014b0| 6f 72 74 20 74 79 70 65 | 3b 0d 09 0d 09 47 65 74 |ort type|;....Get|
|000014c0| 44 69 61 6c 6f 67 49 74 | 65 6d 28 47 65 74 44 69 |DialogIt|em(GetDi|
|000014d0| 61 6c 6f 67 52 65 66 28 | 29 2c 20 69 74 65 6d 2c |alogRef(|), item,|
|000014e0| 20 26 74 79 70 65 2c 20 | 26 68 2c 20 26 72 29 3b | &type, |&h, &r);|
|000014f0| 0d 09 53 65 74 44 69 61 | 6c 6f 67 49 74 65 6d 28 |..SetDia|logItem(|
|00001500| 47 65 74 44 69 61 6c 6f | 67 52 65 66 28 29 2c 20 |GetDialo|gRef(), |
|00001510| 69 74 65 6d 2c 20 74 79 | 70 65 2c 20 64 61 74 61 |item, ty|pe, data|
|00001520| 2c 20 26 72 29 3b 0d 7d | 0d 0d 76 6f 69 64 20 43 |, &r);.}|..void C|
|00001530| 44 69 61 6c 6f 67 3a 3a | 47 65 74 49 74 65 6d 54 |Dialog::|GetItemT|
|00001540| 65 78 74 28 73 68 6f 72 | 74 20 69 74 65 6d 2c 20 |ext(shor|t item, |
|00001550| 53 74 72 32 35 35 20 73 | 29 0d 7b 0d 09 61 73 73 |Str255 s|).{..ass|
|00001560| 65 72 74 28 47 65 74 49 | 74 65 6d 54 79 70 65 28 |ert(GetI|temType(|
|00001570| 69 74 65 6d 29 20 3d 3d | 20 73 74 61 74 54 65 78 |item) ==| statTex|
|00001580| 74 20 7c 7c 20 47 65 74 | 49 74 65 6d 54 79 70 65 |t || Get|ItemType|
|00001590| 28 69 74 65 6d 29 20 3d | 3d 20 65 64 69 74 54 65 |(item) =|= editTe|
|000015a0| 78 74 29 3b 0d 09 0d 09 | 47 65 74 44 69 61 6c 6f |xt);....|GetDialo|
|000015b0| 67 49 74 65 6d 54 65 78 | 74 28 47 65 74 49 74 65 |gItemTex|t(GetIte|
|000015c0| 6d 44 61 74 61 28 69 74 | 65 6d 29 2c 20 73 29 3b |mData(it|em), s);|
|000015d0| 0d 7d 0d 0d 76 6f 69 64 | 20 43 44 69 61 6c 6f 67 |.}..void| CDialog|
|000015e0| 3a 3a 53 65 6c 65 63 74 | 49 74 65 6d 54 65 78 74 |::Select|ItemText|
|000015f0| 28 73 68 6f 72 74 20 69 | 74 65 6d 2c 20 73 68 6f |(short i|tem, sho|
|00001600| 72 74 20 73 74 61 72 74 | 2c 20 73 68 6f 72 74 20 |rt start|, short |
|00001610| 66 69 6e 69 73 68 29 0d | 7b 0d 09 61 73 73 65 72 |finish).|{..asser|
|00001620| 74 28 47 65 74 49 74 65 | 6d 54 79 70 65 28 69 74 |t(GetIte|mType(it|
|00001630| 65 6d 29 20 3d 3d 20 65 | 64 69 74 54 65 78 74 29 |em) == e|ditText)|
|00001640| 3b 0d 0d 09 53 65 6c 65 | 63 74 44 69 61 6c 6f 67 |;...Sele|ctDialog|
|00001650| 49 74 65 6d 54 65 78 74 | 28 47 65 74 44 69 61 6c |ItemText|(GetDial|
|00001660| 6f 67 52 65 66 28 29 2c | 20 69 74 65 6d 2c 20 73 |ogRef(),| item, s|
|00001670| 74 61 72 74 2c 20 66 69 | 6e 69 73 68 29 3b 0d 7d |tart, fi|nish);.}|
|00001680| 0d 0d 43 6f 6e 74 72 6f | 6c 52 65 66 20 43 44 69 |..Contro|lRef CDi|
|00001690| 61 6c 6f 67 3a 3a 47 65 | 74 49 74 65 6d 43 6f 6e |alog::Ge|tItemCon|
|000016a0| 74 72 6f 6c 28 73 68 6f | 72 74 20 69 74 65 6d 29 |trol(sho|rt item)|
|000016b0| 0d 7b 0d 09 52 65 63 74 | 20 72 3b 0d 09 48 61 6e |.{..Rect| r;..Han|
|000016c0| 64 6c 65 20 68 3b 0d 09 | 73 68 6f 72 74 20 74 79 |dle h;..|short ty|
|000016d0| 70 65 3b 0d 09 0d 09 47 | 65 74 44 69 61 6c 6f 67 |pe;....G|etDialog|
|000016e0| 49 74 65 6d 28 47 65 74 | 44 69 61 6c 6f 67 52 65 |Item(Get|DialogRe|
|000016f0| 66 28 29 2c 20 69 74 65 | 6d 2c 20 26 74 79 70 65 |f(), ite|m, &type|
|00001700| 2c 20 26 68 2c 20 26 72 | 29 3b 0d 09 61 73 73 65 |, &h, &r|);..asse|
|00001710| 72 74 28 28 74 79 70 65 | 20 26 20 63 74 72 6c 49 |rt((type| & ctrlI|
|00001720| 74 65 6d 29 20 3d 3d 20 | 63 74 72 6c 49 74 65 6d |tem) == |ctrlItem|
|00001730| 29 3b 0d 09 72 65 74 75 | 72 6e 20 28 43 6f 6e 74 |);..retu|rn (Cont|
|00001740| 72 6f 6c 52 65 66 29 68 | 3b 0d 7d 0d 0d 76 6f 69 |rolRef)h|;.}..voi|
|00001750| 64 20 43 44 69 61 6c 6f | 67 3a 3a 53 65 74 49 74 |d CDialo|g::SetIt|
|00001760| 65 6d 56 61 6c 75 65 28 | 73 68 6f 72 74 20 69 74 |emValue(|short it|
|00001770| 65 6d 2c 20 73 68 6f 72 | 74 20 76 61 6c 75 65 29 |em, shor|t value)|
|00001780| 0d 7b 0d 09 43 6f 6e 74 | 72 6f 6c 52 65 66 20 63 |.{..Cont|rolRef c|
|00001790| 6f 6e 74 72 6f 6c 20 3d | 20 47 65 74 49 74 65 6d |ontrol =| GetItem|
|000017a0| 43 6f 6e 74 72 6f 6c 28 | 69 74 65 6d 29 3b 0d 09 |Control(|item);..|
|000017b0| 69 66 20 28 76 61 6c 75 | 65 20 21 3d 20 47 65 74 |if (valu|e != Get|
|000017c0| 43 6f 6e 74 72 6f 6c 56 | 61 6c 75 65 28 63 6f 6e |ControlV|alue(con|
|000017d0| 74 72 6f 6c 29 29 0d 09 | 09 53 65 74 43 6f 6e 74 |trol))..|.SetCont|
|000017e0| 72 6f 6c 56 61 6c 75 65 | 28 63 6f 6e 74 72 6f 6c |rolValue|(control|
|000017f0| 2c 20 76 61 6c 75 65 29 | 3b 0d 7d 0d 0d 73 68 6f |, value)|;.}..sho|
|00001800| 72 74 20 43 44 69 61 6c | 6f 67 3a 3a 47 65 74 49 |rt CDial|og::GetI|
|00001810| 74 65 6d 56 61 6c 75 65 | 28 73 68 6f 72 74 20 69 |temValue|(short i|
|00001820| 74 65 6d 29 0d 7b 0d 09 | 72 65 74 75 72 6e 20 47 |tem).{..|return G|
|00001830| 65 74 43 6f 6e 74 72 6f | 6c 56 61 6c 75 65 28 47 |etContro|lValue(G|
|00001840| 65 74 49 74 65 6d 43 6f | 6e 74 72 6f 6c 28 69 74 |etItemCo|ntrol(it|
|00001850| 65 6d 29 29 3b 0d 7d 0d | 0d 73 68 6f 72 74 20 43 |em));.}.|.short C|
|00001860| 44 69 61 6c 6f 67 3a 3a | 47 65 74 49 74 65 6d 48 |Dialog::|GetItemH|
|00001870| 69 6c 69 74 65 28 73 68 | 6f 72 74 20 69 74 65 6d |ilite(sh|ort item|
|00001880| 29 0d 7b 09 0d 09 73 68 | 6f 72 74 20 72 65 73 75 |).{...sh|ort resu|
|00001890| 6c 74 20 3d 20 28 2a 2a | 47 65 74 49 74 65 6d 43 |lt = (**|GetItemC|
|000018a0| 6f 6e 74 72 6f 6c 28 69 | 74 65 6d 29 29 2e 63 6f |ontrol(i|tem)).co|
|000018b0| 6e 74 72 6c 48 69 6c 69 | 74 65 3b 0d 09 72 65 74 |ntrlHili|te;..ret|
|000018c0| 75 72 6e 20 72 65 73 75 | 6c 74 3b 0d 7d 0d 0d 0d |urn resu|lt;.}...|
|000018d0| 76 6f 69 64 20 43 44 69 | 61 6c 6f 67 3a 3a 48 69 |void CDi|alog::Hi|
|000018e0| 6c 69 74 65 49 74 65 6d | 28 73 68 6f 72 74 20 69 |liteItem|(short i|
|000018f0| 74 65 6d 2c 20 73 68 6f | 72 74 20 68 69 6c 69 74 |tem, sho|rt hilit|
|00001900| 65 29 0d 7b 0d 09 69 66 | 20 28 47 65 74 49 74 65 |e).{..if| (GetIte|
|00001910| 6d 48 69 6c 69 74 65 28 | 69 74 65 6d 29 20 21 3d |mHilite(|item) !=|
|00001920| 20 68 69 6c 69 74 65 29 | 0d 09 7b 0d 09 09 48 69 | hilite)|..{...Hi|
|00001930| 6c 69 74 65 43 6f 6e 74 | 72 6f 6c 28 47 65 74 49 |liteCont|rol(GetI|
|00001940| 74 65 6d 43 6f 6e 74 72 | 6f 6c 28 69 74 65 6d 29 |temContr|ol(item)|
|00001950| 2c 20 68 69 6c 69 74 65 | 29 3b 0d 09 7d 0d 7d 0d |, hilite|);..}.}.|
|00001960| 0d 76 6f 69 64 20 43 44 | 69 61 6c 6f 67 3a 3a 45 |.void CD|ialog::E|
|00001970| 6e 61 62 6c 65 49 74 65 | 6d 28 73 68 6f 72 74 20 |nableIte|m(short |
|00001980| 69 74 65 6d 2c 20 42 6f | 6f 6c 65 61 6e 20 65 6e |item, Bo|olean en|
|00001990| 61 62 6c 65 29 0d 7b 0d | 09 48 69 6c 69 74 65 49 |able).{.|.HiliteI|
|000019a0| 74 65 6d 28 69 74 65 6d | 2c 20 65 6e 61 62 6c 65 |tem(item|, enable|
|000019b0| 20 3f 20 30 20 3a 20 32 | 35 35 29 3b 0d 09 61 73 | ? 0 : 2|55);..as|
|000019c0| 73 65 72 74 28 49 73 45 | 6e 61 62 6c 65 64 28 69 |sert(IsE|nabled(i|
|000019d0| 74 65 6d 29 20 3d 3d 20 | 65 6e 61 62 6c 65 29 3b |tem) == |enable);|
|000019e0| 0d 7d 0d 0d 76 6f 69 64 | 20 43 44 69 61 6c 6f 67 |.}..void| CDialog|
|000019f0| 3a 3a 44 69 73 61 62 6c | 65 49 74 65 6d 28 73 68 |::Disabl|eItem(sh|
|00001a00| 6f 72 74 20 69 74 65 6d | 29 0d 7b 0d 09 48 69 6c |ort item|).{..Hil|
|00001a10| 69 74 65 49 74 65 6d 28 | 69 74 65 6d 2c 20 32 35 |iteItem(|item, 25|
|00001a20| 35 29 3b 0d 09 61 73 73 | 65 72 74 28 21 49 73 45 |5);..ass|ert(!IsE|
|00001a30| 6e 61 62 6c 65 64 28 69 | 74 65 6d 29 29 3b 0d 7d |nabled(i|tem));.}|
|00001a40| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 43 44 69 61 6c 6f |..Boolea|n CDialo|
|00001a50| 67 3a 3a 49 73 45 6e 61 | 62 6c 65 64 28 73 68 6f |g::IsEna|bled(sho|
|00001a60| 72 74 20 69 74 65 6d 29 | 0d 7b 0d 09 72 65 74 75 |rt item)|.{..retu|
|00001a70| 72 6e 20 47 65 74 49 74 | 65 6d 48 69 6c 69 74 65 |rn GetIt|emHilite|
|00001a80| 28 69 74 65 6d 29 20 21 | 3d 20 32 35 35 3b 0d 7d |(item) !|= 255;.}|
|00001a90| 0d 0d 76 6f 69 64 20 43 | 44 69 61 6c 6f 67 3a 3a |..void C|Dialog::|
|00001aa0| 47 65 74 49 74 65 6d 54 | 69 74 6c 65 28 73 68 6f |GetItemT|itle(sho|
|00001ab0| 72 74 20 69 74 65 6d 2c | 20 53 74 72 32 35 35 20 |rt item,| Str255 |
|00001ac0| 74 69 74 6c 65 29 0d 7b | 0d 09 47 65 74 43 6f 6e |title).{|..GetCon|
|00001ad0| 74 72 6f 6c 54 69 74 6c | 65 28 47 65 74 49 74 65 |trolTitl|e(GetIte|
|00001ae0| 6d 43 6f 6e 74 72 6f 6c | 28 69 74 65 6d 29 2c 20 |mControl|(item), |
|00001af0| 74 69 74 6c 65 29 3b 0d | 7d 0d 0d 76 6f 69 64 20 |title);.|}..void |
|00001b00| 43 44 69 61 6c 6f 67 3a | 3a 53 65 74 49 74 65 6d |CDialog:|:SetItem|
|00001b10| 54 69 74 6c 65 28 73 68 | 6f 72 74 20 69 74 65 6d |Title(sh|ort item|
|00001b20| 2c 20 43 6f 6e 73 74 53 | 74 72 32 35 35 50 61 72 |, ConstS|tr255Par|
|00001b30| 61 6d 20 74 69 74 6c 65 | 29 0d 7b 0d 09 43 6f 6e |am title|).{..Con|
|00001b40| 74 72 6f 6c 52 65 66 20 | 63 6f 6e 74 72 6f 6c 20 |trolRef |control |
|00001b50| 3d 20 47 65 74 49 74 65 | 6d 43 6f 6e 74 72 6f 6c |= GetIte|mControl|
|00001b60| 28 69 74 65 6d 29 3b 0d | 09 53 74 72 32 35 35 20 |(item);.|.Str255 |
|00001b70| 73 3b 0d 09 47 65 74 43 | 6f 6e 74 72 6f 6c 54 69 |s;..GetC|ontrolTi|
|00001b80| 74 6c 65 28 63 6f 6e 74 | 72 6f 6c 2c 20 73 29 3b |tle(cont|rol, s);|
|00001b90| 0d 09 69 66 20 28 21 45 | 71 75 61 6c 53 74 72 69 |..if (!E|qualStri|
|00001ba0| 6e 67 28 73 2c 20 74 69 | 74 6c 65 2c 20 74 72 75 |ng(s, ti|tle, tru|
|00001bb0| 65 2c 20 74 72 75 65 29 | 29 0d 09 09 53 65 74 43 |e, true)|)...SetC|
|00001bc0| 6f 6e 74 72 6f 6c 54 69 | 74 6c 65 28 63 6f 6e 74 |ontrolTi|tle(cont|
|00001bd0| 72 6f 6c 2c 20 74 69 74 | 6c 65 29 3b 09 0d 7d 0d |rol, tit|le);..}.|
|00001be0| 0d 73 68 6f 72 74 20 43 | 44 69 61 6c 6f 67 3a 3a |.short C|Dialog::|
|00001bf0| 47 65 74 49 74 65 6d 54 | 79 70 65 28 73 68 6f 72 |GetItemT|ype(shor|
|00001c00| 74 20 69 74 65 6d 29 0d | 7b 0d 09 52 65 63 74 20 |t item).|{..Rect |
|00001c10| 72 3b 0d 09 48 61 6e 64 | 6c 65 20 68 3b 0d 09 73 |r;..Hand|le h;..s|
|00001c20| 68 6f 72 74 20 74 79 70 | 65 3b 0d 09 0d 09 47 65 |hort typ|e;....Ge|
|00001c30| 74 44 69 61 6c 6f 67 49 | 74 65 6d 28 47 65 74 44 |tDialogI|tem(GetD|
|00001c40| 69 61 6c 6f 67 52 65 66 | 28 29 2c 20 69 74 65 6d |ialogRef|(), item|
|00001c50| 2c 20 26 74 79 70 65 2c | 20 26 68 2c 20 26 72 29 |, &type,| &h, &r)|
|00001c60| 3b 0d 0d 09 72 65 74 75 | 72 6e 20 74 79 70 65 20 |;...retu|rn type |
|00001c70| 26 20 7e 69 74 65 6d 44 | 69 73 61 62 6c 65 3b 0d |& ~itemD|isable;.|
|00001c80| 7d 0d 0d 76 6f 69 64 20 | 43 44 69 61 6c 6f 67 3a |}..void |CDialog:|
|00001c90| 3a 53 65 74 49 74 65 6d | 54 79 70 65 28 73 68 6f |:SetItem|Type(sho|
|00001ca0| 72 74 20 69 74 65 6d 2c | 20 73 68 6f 72 74 20 74 |rt item,| short t|
|00001cb0| 68 65 54 79 70 65 29 0d | 7b 0d 09 52 65 63 74 20 |heType).|{..Rect |
|00001cc0| 72 3b 0d 09 48 61 6e 64 | 6c 65 20 68 3b 0d 09 73 |r;..Hand|le h;..s|
|00001cd0| 68 6f 72 74 20 74 79 70 | 65 3b 0d 09 0d 09 47 65 |hort typ|e;....Ge|
|00001ce0| 74 44 69 61 6c 6f 67 49 | 74 65 6d 28 47 65 74 44 |tDialogI|tem(GetD|
|00001cf0| 69 61 6c 6f 67 52 65 66 | 28 29 2c 20 69 74 65 6d |ialogRef|(), item|
|00001d00| 2c 20 26 74 79 70 65 2c | 20 26 68 2c 20 26 72 29 |, &type,| &h, &r)|
|00001d10| 3b 0d 09 53 65 74 44 69 | 61 6c 6f 67 49 74 65 6d |;..SetDi|alogItem|
|00001d20| 28 47 65 74 44 69 61 6c | 6f 67 52 65 66 28 29 2c |(GetDial|ogRef(),|
|00001d30| 20 69 74 65 6d 2c 20 74 | 68 65 54 79 70 65 20 7c | item, t|heType ||
|00001d40| 20 28 74 79 70 65 20 26 | 20 69 74 65 6d 44 69 73 | (type &| itemDis|
|00001d50| 61 62 6c 65 29 2c 20 68 | 2c 20 26 72 29 3b 0d 7d |able), h|, &r);.}|
|00001d60| 0d 0d 76 6f 69 64 20 43 | 44 69 61 6c 6f 67 3a 3a |..void C|Dialog::|
|00001d70| 48 69 64 65 49 74 65 6d | 28 73 68 6f 72 74 20 69 |HideItem|(short i|
|00001d80| 74 65 6d 29 0d 7b 0d 09 | 48 69 64 65 44 69 61 6c |tem).{..|HideDial|
|00001d90| 6f 67 49 74 65 6d 28 47 | 65 74 44 69 61 6c 6f 67 |ogItem(G|etDialog|
|00001da0| 52 65 66 28 29 2c 20 69 | 74 65 6d 29 3b 0d 7d 0d |Ref(), i|tem);.}.|
|00001db0| 0d 76 6f 69 64 20 43 44 | 69 61 6c 6f 67 3a 3a 53 |.void CD|ialog::S|
|00001dc0| 68 6f 77 49 74 65 6d 28 | 73 68 6f 72 74 20 69 74 |howItem(|short it|
|00001dd0| 65 6d 29 0d 7b 0d 09 53 | 68 6f 77 44 69 61 6c 6f |em).{..S|howDialo|
|00001de0| 67 49 74 65 6d 28 47 65 | 74 44 69 61 6c 6f 67 52 |gItem(Ge|tDialogR|
|00001df0| 65 66 28 29 2c 20 69 74 | 65 6d 29 3b 0d 7d 0d 0d |ef(), it|em);.}..|
|00001e00| 76 6f 69 64 20 43 44 69 | 61 6c 6f 67 3a 3a 46 6c |void CDi|alog::Fl|
|00001e10| 61 73 68 42 75 74 74 6f | 6e 28 73 68 6f 72 74 20 |ashButto|n(short |
|00001e20| 69 74 65 6d 29 0d 7b 0d | 09 69 66 20 28 49 73 45 |item).{.|.if (IsE|
|00001e30| 6e 61 62 6c 65 64 28 69 | 74 65 6d 29 29 0d 09 7b |nabled(i|tem))..{|
|00001e40| 0d 09 09 6c 6f 6e 67 20 | 77 61 69 74 54 69 63 6b |...long |waitTick|
|00001e50| 73 3b 0d 09 09 48 69 6c | 69 74 65 49 74 65 6d 28 |s;...Hil|iteItem(|
|00001e60| 69 74 65 6d 2c 20 6b 43 | 6f 6e 74 72 6f 6c 42 75 |item, kC|ontrolBu|
|00001e70| 74 74 6f 6e 50 61 72 74 | 29 3b 0d 09 09 44 65 6c |ttonPart|);...Del|
|00001e80| 61 79 28 38 2c 20 26 77 | 61 69 74 54 69 63 6b 73 |ay(8, &w|aitTicks|
|00001e90| 29 3b 0d 09 09 48 69 6c | 69 74 65 49 74 65 6d 28 |);...Hil|iteItem(|
|00001ea0| 69 74 65 6d 2c 20 30 29 | 3b 0d 09 7d 0d 7d 0d 0d |item, 0)|;..}.}..|
|00001eb0| 76 6f 69 64 20 43 44 69 | 61 6c 6f 67 3a 3a 47 65 |void CDi|alog::Ge|
|00001ec0| 74 53 65 6c 65 63 74 69 | 6f 6e 45 6e 64 70 6f 69 |tSelecti|onEndpoi|
|00001ed0| 6e 74 73 28 73 68 6f 72 | 74 26 20 73 74 61 72 74 |nts(shor|t& start|
|00001ee0| 2c 20 73 68 6f 72 74 26 | 20 65 6e 64 29 0d 7b 0d |, short&| end).{.|
|00001ef0| 09 54 45 48 61 6e 64 6c | 65 20 74 65 20 3d 20 28 |.TEHandl|e te = (|
|00001f00| 28 44 69 61 6c 6f 67 50 | 65 65 6b 29 47 65 74 44 |(DialogP|eek)GetD|
|00001f10| 69 61 6c 6f 67 52 65 66 | 28 29 29 2d 3e 74 65 78 |ialogRef|())->tex|
|00001f20| 74 48 3b 0d 09 65 6e 64 | 20 3d 20 28 2a 2a 74 65 |tH;..end| = (**te|
|00001f30| 29 2e 73 65 6c 45 6e 64 | 3b 0d 09 73 74 61 72 74 |).selEnd|;..start|
|00001f40| 20 3d 20 28 2a 2a 74 65 | 29 2e 73 65 6c 53 74 61 | = (**te|).selSta|
|00001f50| 72 74 3b 0d 7d 0d 0d 73 | 68 6f 72 74 20 43 44 69 |rt;.}..s|hort CDi|
|00001f60| 61 6c 6f 67 3a 3a 47 65 | 74 49 74 65 6d 54 65 78 |alog::Ge|tItemTex|
|00001f70| 74 53 69 7a 65 28 73 68 | 6f 72 74 20 69 74 65 6d |tSize(sh|ort item|
|00001f80| 29 0d 7b 0d 09 53 74 72 | 32 35 35 20 73 3b 0d 09 |).{..Str|255 s;..|
|00001f90| 69 66 20 28 69 74 65 6d | 20 3d 3d 20 30 29 0d 09 |if (item| == 0)..|
|00001fa0| 7b 0d 09 09 47 65 74 49 | 74 65 6d 54 65 78 74 28 |{...GetI|temText(|
|00001fb0| 28 28 44 69 61 6c 6f 67 | 50 65 65 6b 29 47 65 74 |((Dialog|Peek)Get|
|00001fc0| 44 69 61 6c 6f 67 52 65 | 66 28 29 29 2d 3e 65 64 |DialogRe|f())->ed|
|00001fd0| 69 74 46 69 65 6c 64 20 | 2b 20 31 2c 20 73 29 3b |itField |+ 1, s);|
|00001fe0| 0d 09 7d 0d 09 65 6c 73 | 65 0d 09 7b 0d 09 09 47 |..}..els|e..{...G|
|00001ff0| 65 74 49 74 65 6d 54 65 | 78 74 28 69 74 65 6d 2c |etItemTe|xt(item,|
|00002000| 20 73 29 3b 0d 09 7d 0d | 09 72 65 74 75 72 6e 20 | s);..}.|.return |
|00002010| 73 5b 30 5d 3b 0d 7d 0d | 0d 0d 0d 0d 23 65 6e 64 |s[0];.}.|....#end|
|00002020| 69 66 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |if......|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 01 00 00 00 01 76 | 00 00 00 76 00 00 00 52 |.......v|...v...R|
|00002090| 00 00 a7 ec 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 0a 43 44 69 61 6c 6f 67 | 73 2e 68 6c 02 00 00 00 |.CDialog|s.hl....|
|000020c0| 54 45 58 54 43 57 49 45 | 01 00 00 00 00 c0 00 00 |TEXTCWIE|........|
|000020d0| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 00 c0 |..TEXTCW|IE......|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 a8 f4 ae e9 00 00 | 1f a3 00 00 01 c8 69 7a |........|......iz|
|00002100| 61 74 69 6f 6e 00 00 00 | 00 00 08 44 25 00 00 00 |ation...|...D%...|
|00002110| a7 ec 15 4f 62 6a 65 63 | 74 20 4d 61 73 74 65 72 |...Objec|t Master|
|00002120| aa 20 4d 61 63 72 6f 73 | 00 00 00 00 00 00 00 00 |. Macros|........|
|00002130| 00 00 00 00 07 01 25 00 | 00 00 a7 ec 1f 4f 62 6a |......%.|.....Obj|
|00002140| 65 63 74 20 4d 61 73 74 | 65 72 aa 20 55 6e 69 76 |ect Mast|er. Univ|
|00002150| 65 72 73 61 6c 20 32 2e | 35 2e 31 a4 00 00 07 2b |ersal 2.|5.1....+|
|00002160| 25 00 00 00 a7 ec 07 53 | 74 61 72 74 75 70 00 00 |%......S|tartup..|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 1e 00 a3 00 32 | 02 23 02 91 00 a3 00 32 |.......2|.#.....2|
|00002190| 02 23 02 91 00 00 00 00 | 00 00 00 00 00 00 00 00 |.#......|........|
|000021a0| 00 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 00 |.....H..|Monaco..|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 67 01 91 |........|.....g..|
|000021d0| 02 79 03 e6 00 67 01 91 | 02 79 03 e6 ad fc 2e 7f |.y...g..|.y......|
|000021e0| 00 00 00 65 00 00 00 65 | 00 00 00 00 01 00 00 00 |...e...e|........|
|000021f0| 00 04 00 01 00 01 00 00 | 01 00 00 00 01 76 00 00 |........|.....v..|
|00002200| 00 76 00 00 00 52 02 b0 | f3 38 30 d8 00 00 00 1c |.v...R..|.80.....|
|00002210| 00 52 00 01 4d 50 53 52 | 00 01 00 12 4d 57 42 42 |.R..MPSR|....MWBB|
|00002220| 00 00 00 2a 03 f0 ff ff | 00 00 00 00 00 00 00 00 |...*....|........|
|00002230| 03 ed ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|00002240| 00 00 00 6e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...n....|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+